<!DOCTYPE html>
<html>
<head>
  <title>预防针预约系统</title>
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <link rel="stylesheet" href="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/css/bootstrap.min.css">
  <script src="https://cdn.staticfile.org/jquery/3.2.1/jquery.min.js"></script>
  <script src="https://cdn.staticfile.org/popper.js/1.15.0/umd/popper.min.js"></script>
  <script src="https://cdn.staticfile.org/twitter-bootstrap/4.3.1/js/bootstrap.min.js"></script>
</head>
<body style="background-color: rgb(128, 230, 128);">

<nav class="navbar navbar-expand-md bg-success navbar-dark fixed-top">
    <a class="navbar-brand" href="index.html">首页</a>
    <button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#collapsibleNavbar">
        <span class="navbar-toggler-icon"></span>
    </button>
    <div class="collapse navbar-collapse" id="collapsibleNavbar">
        <ul class="navbar-nav justify-content-center">
            <!-- <li class="nav-item">
              <a class="navbar-brand" href="#">首页</a>
            </li> -->
            <li class="nav-item">
                <a class="navbar-brand" href="#">进行预约</a>
              </li>
              <li class="nav-item">
                <a class="navbar-brand" href="#">预约进度</a>
              </li>
              <li class="nav-item">
                <a class="navbar-brand" href="#">个人中心</a>
              </li>
              <li class="nav-item">
                <a class="navbar-brand" href="#">注销</a>
              </li>
        </ul>
    </div>
</nav>
<div class="container" style="margin-top:80px">
 
  <!-- Nav tabs -->
  <ul class="nav nav-tabs nav-justified" role="tablist">
    <li class="nav-item">
      <a class="nav-link active" data-toggle="tab" href="#home">受理中</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" data-toggle="tab" href="#menu1">已办理</a>
    </li>
    <li class="nav-item">
      <a class="nav-link" data-toggle="tab" href="#menu2">已取消</a>
    </li>
    <li class="nav-item">
        <a class="nav-link" data-toggle="tab" href="#menu3">全部</a>
      </li>
  </ul>

  <!-- Tab panes -->
<div class="tab-content">
    <div id="home" class="container tab-pane active" style="padding: 0 0;margin-top:10px;"><br>
        <!-- 2 -->
        <div class="card" style="padding: 0 10;margin-top:10px">
            <div class="card-body" style="padding: 0 0;">
                <div class="d-flex mb-1">
                    <div class="p-1">孩子姓名:</div>
                    <div class="p-1 ml-auto ">李明</div>
                </div>
                <!-- <div class="d-flex mb-1">
                    <div class="p-1">预防针类型:</div>
                    <div class="p-1 ml-auto ">乙肝(第一针)</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1">预约时间:</div>
                    <div class="p-1 ml-auto ">2020-01-01 20:08:00</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1 ml-auto ">
                        <button type="button" class="btn btn-outline-primary btn-sm" onclick="del(11)">取消</button>
                    </div>
                </div> -->
            </div>
        </div>
        <!-- emd -->

         <!-- 2 -->
         <!-- <div class="card" style="padding: 0 10;margin-top:10px">
            <div class="card-body" style="padding: 0 0;">
                <div class="d-flex mb-1">
                    <div class="p-1">孩子姓名:</div>
                    <div class="p-1 ml-auto ">李明</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1">预防针类型:</div>
                    <div class="p-1 ml-auto ">乙肝(第一针)</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1">预约时间:</div>
                    <div class="p-1 ml-auto ">2020-01-01 20:08:00</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1 ml-auto ">
                        <button type="button" class="btn btn-outline-primary btn-sm" onclick="del(11)">取消</button>
                    </div>
                </div>
            </div>
        </div> -->
        <!-- emd -->
        <!-- 2 -->
        <!-- <div class="card" style="padding: 0 10;margin-top:10px">
            <div class="card-body" style="padding: 0 0;">
                <div class="d-flex mb-1">
                    <div class="p-1">孩子姓名:</div>
                    <div class="p-1 ml-auto ">李明</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1">预防针类型:</div>
                    <div class="p-1 ml-auto ">乙肝(第一针)</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1">预约时间:</div>
                    <div class="p-1 ml-auto ">2020-01-01 20:08:00</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1 ml-auto ">
                        <button type="button" class="btn btn-outline-primary btn-sm" onclick="del(11)">取消</button>
                    </div>
                </div>
            </div>
        </div> -->
        <!-- emd -->
        <!-- 3 -->
        <!-- <div class="card" style="padding: 0 10;margin-top:10px;margin-bottom: 45px;">
            <div class="card-body" style="padding: 0 0;">
                <div class="d-flex mb-1">
                    <div class="p-1">孩子姓名:</div>
                    <div class="p-1 ml-auto ">李明</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1">预防针类型:</div>
                    <div class="p-1 ml-auto ">乙肝(第一针)</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1">预约时间:</div>
                    <div class="p-1 ml-auto ">2020-01-01 20:08:00</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1 ml-auto ">
                        <button type="button" class="btn btn-outline-primary btn-sm" onclick="del(11)">取消</button>
                    </div>
                </div>
            </div>
        </div> -->
        <!-- emd -->
    </div>
    <div id="menu1" class="container tab-pane fade" style="padding: 0 0;margin-top:10px"><br>
        <div class="card" style="padding: 0 10;margin-top:10px">
            <div class="card-body" style="padding: 0 0;">
                <div class="d-flex mb-1">
                    <div class="p-1">孩子姓名:</div>
                    <div class="p-1 ml-auto ">李明</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1">预防针类型:</div>
                    <div class="p-1 ml-auto ">乙肝(第一针)</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1">预约时间:</div>
                    <div class="p-1 ml-auto ">2020-01-01 20:08:00</div>
                </div>
            </div>
        </div>
    </div>
    <div id="menu2" class="container tab-pane fade" style="padding: 0 0;margin-top:10px"><br>
        <div class="card" style="padding: 0 10;margin-top:10px">
            <div class="card-body" style="padding: 0 0;">
                <div class="d-flex mb-1">
                    <div class="p-1">孩子姓名:</div>
                    <div class="p-1 ml-auto ">李明</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1">预防针类型:</div>
                    <div class="p-1 ml-auto ">乙肝(第一针)</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1">预约时间:</div>
                    <div class="p-1 ml-auto ">2020-01-01 20:08:00</div>
                </div>
            </div>
        </div>
    </div>
    <div id="menu3" class="container tab-pane fade" style="padding: 0 0;margin-top:10px"><br>
        <div class="card" style="padding: 0 10;margin-top:10px">
            <div class="card-body" style="padding: 0 0;">
                <div class="d-flex mb-1">
                    <div class="p-1">孩子姓名:</div>
                    <div class="p-1 ml-auto ">李明</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1">预防针类型:</div>
                    <div class="p-1 ml-auto ">乙肝(第一针)</div>
                </div>
                <div class="d-flex mb-1">
                    <div class="p-1">预约时间:</div>
                    <div class="p-1 ml-auto ">2020-01-01 20:08:00</div>
                </div>
            </div>
        </div>
    </div>
</div>
</div>

<div class="bg-light fixed-bottom " style="margin-bottom:0;padding: 0 0;">
    <div> <p class="text-center">@2020-tch</p></div>
   
  </div>
</body>
<script>
    function del(id){
        if (confirm("确认要取消吗？")){
            console.log(id);
            window.location.href="index.html"+id;
        }else{
            // alert("已经取消");
        }
    }
    // var s= document.getElementById("home").getElementsByTagName("div");
    // console.log(s.lastChile);
    // var lc=s.lastChile;
    // var n = s.nextSibling;
    // n.style.height = "200px" ;
    // console.log(n);
    
   
</script>
</html>